//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
//////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2003 Intrinsyc Europe Ltd.
//////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2004 Siemens AG
//
// Version: 1.1.2.5
// Date:    11. Jan. 2006
//////////////////////////////////////////////////////////////////////////////

#ifndef __RILVERSION_H__
#define __RILVERSION_H__

//////////////////////////////////////////////////////////////////////////////

#define RIL_VERSION_1            1
#define RIL_VERSION_2            1
#define RIL_VERSION_3            2
#define RIL_VERSION_4            5

//////////////////////////////////////////////////////////////////////////////

#define RIL_VERSION              RIL_VERSION_1,RIL_VERSION_2,RIL_VERSION_3,RIL_VERSION_4

#define RIL_VERSION_STRING       _TO_STRING_(RIL_VERSION_1) "." \
                                 _TO_STRING_(RIL_VERSION_2) "." \
                                 _TO_STRING_(RIL_VERSION_3) "." \
                                 _TO_STRING_(RIL_VERSION_4) "\0"

#define RIL_VERSION_NUM          ((RIL_VERSION_1 << 24) | (RIL_VERSION_2 << 16) | (RIL_VERSION_3 << 8) | RIL_VERSION_4)

// Tricky string creation macro
#define _TO_STRING_(x)           __TO_STRING__(x)
#define __TO_STRING__(x)         #x

#endif // __RILVERSION_H__
